package com.ty.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "email")
public class EmailConfig {

    private String host;
    private Integer port;
    private String from;
    private String user;
    private String pass;
    private Boolean auth;


}
